package cn.ht.jywrwater.module.ht.convert.watercount;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.watercount.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.watercount.WaterCountDO;

/**
 * 水量统计 Convert
 *
 * @author hzx
 */
@Mapper
public interface WaterCountConvert {

    WaterCountConvert INSTANCE = Mappers.getMapper(WaterCountConvert.class);

    WaterCountDO convert(WaterCountCreateReqVO bean);

    WaterCountDO convert(WaterCountUpdateReqVO bean);

    WaterCountRespVO convert(WaterCountDO bean);

    List<WaterCountRespVO> convertList(List<WaterCountDO> list);

    PageResult<WaterCountRespVO> convertPage(PageResult<WaterCountDO> page);

    List<WaterCountExcelVO> convertList02(List<WaterCountDO> list);

}
